/**
 * 
 */
package com.csc.bankingsystem.web.exception;

import org.springframework.security.authentication.BadCredentialsException;

/**
 * @author angelkid
 *
 */
public class BSBadCredentialsException extends BadCredentialsException {

	private String errorMsg;
	private String errorCode;
	
	public BSBadCredentialsException(String msg) {
		super(msg);
	}
	
	public BSBadCredentialsException(String errorCode, String errorMsg) {
		super(errorMsg);
		this.errorMsg = errorMsg;
		this.errorCode = errorCode;
	}

	public String getErrorMsg() {
		return errorMsg;
	}

	public void setErrorMsg(String errorMsg) {
		this.errorMsg = errorMsg;
	}

	public String getErrorCode() {
		return errorCode;
	}

	public void setErrorCode(String errorCode) {
		this.errorCode = errorCode;
	}
}
